Methods and devices for post processing rendered web pages and handling requests of post processed web pages

ABSTRACT

A method of post processing a rendered HTML web page including the steps of: receiving a rendered web page, parsing the web page to identify resources that the web page includes links to, grouping the identified resources according to a type of resource, creating a resource reference that refers to each group of resources, and inserting the resource reference into the web page to enable the identified resources in the web page to be retrieved.

FIELD OF THE INVENTION

The present invention relates to methods and devices for post processing rendered web pages and handling requests of post processed web pages. In particular, the present invention relates to a method and device for post processing a rendered HTML page in order to insert a resource reference that enables resources identified in the web page to be retrieved, and a method and device for handling a resource request containing such a resource reference.

BACKGROUND

When a browser requests a webpage from a web server there is usually some inherent latency due to the need for the web browser to request each resource identified in the web page. This latency is caused by the web browser being required to individually request each resource as the web browser comes across the request for the resource during the rendering stage.

The basic steps involved in displaying a web page on a browser include the web browser requesting a page from the web server.

The web server then determines which web application is to handle the request, e.g. asp, php, jsp etc. A request is made by the web server to the determined web application to render the page. The web application renders the page content and streams it back to the web server.

The rendering of a page involves the execution of code to transform a template specification for the page into browser readable content (typically HTML, but not restricted to this only).

At this point the assembled page may include links to a number of additional resources that supplement the text content, such as images and script code (<script src=“url” . . . > and <img src=“url” . . . >), as well as other resources such as CSS references (<link type=“text/css” href=“url” . . . >).

For a standard web page, the page content is sent back to the browser with all the resources referenced individually in the HTML.

Upon receipt of the web page, the browser parses the content looking for other resource links and requests each resource in turn from the web server as the browser renders the page. Each of these requests causes the web server to pass the request onto the web application or stream a file from the file system. This causes a latency problem since each resource has the request/response time of the connection in addition to the raw data transfer time.

FIG. 1 shows a flow diagram of the first stage of a browser requesting a web page from a web server.

The process follows the steps of the web browser requesting a web page from the web server. The web server then either streams the page back if static, or if dynamic then requests the page from a web application. The web application renders the requested web page by accessing the page data and including any links to resources within the web page. The page content is then rendered. The web application then streams the rendered web page back to the web server, which in turn renders the web page back to the web browser via the Internet.

FIG. 2 shows a flow diagram of the second stage wherein a browser renders the HTML page received from the web server.

As the web browser renders the web page, in order to display the web page, the page content is parsed by the browser. When the browser finds a link in the web page that references a resource, that resource is requested. For example, if the web browser parses a first reference to a style sheet, it makes a request to the web server for that style sheet. The web server then fetches the style sheet. Each time that the web browser sees another link to a resource reference, a further request is made to the server and a further fetch cycle is carried out to retrieve the resource. The same steps occur when the browser finds links to each script that is required, and links to each image referenced in the web page.

The requirement for the web server to make separate requests for each resource identified or referenced in the web page causes a delay or latency in the system. Once all the resources have been retrieved from their various sources, the complete web page is displayed.

In an attempt to reduce the latency, it is known for software developers to explicitly and manually concatenate resource content according to its type where it is static, for example, when the resource content is JavaScript or cascading style sheets (CSS). This type of combining is only carried out at the development stage when the web page is being built, and so does not allow web pages that have not been explicitly built in this manner to be adapted to reduce latency at a later time.

It is also known that some components, such as compiled Ajax and JavaScript libraries etc, are able to dynamically emit script, and allow all scripts that it generates to be combined into a single resource. Each type of component however is only able to control the resources that the component is aware of and so the grouping in this manner only allows a single request to be made for all scripts of that particular component. As a result, it is still a requirement and common practice to use multiple components. These multiple components also result in multiple resource requests from the browser when the HTML web page is rendered.

It is also known to combine, compress and cache resources as the function of a component, but again this requires effort on behalf of the developer to specifically manually identify those resources to be combined and compressed at the time when they write the software. Also, this approach is limited for use when combining static resources, so it is not possible to have this apply to the dynamic resource references emitted by the components previously mentioned.

In PCT application WO 01/19052 a system is described wherein the scripting language content in a web page to be transmitted is reduced by compressing the content.

In U.S. Pat. No. 7,054,917 a method is described that attempts to reduce latency by combining uniform resource locator (URL) requests associated with advertisement servers into one request.

In US patent application US 2004/215665 a system is described that reduces the amount of data being transmitted by combining, compressing and transcoding HTML data before transmitting the data to a client device.

None of the above prior art documents teach a system that enables the reduction of latency of existing web pages. Further, there is no known method of automatically and dynamically arranging image resource requests in a rendered HTML web page such that those image resources can be requested in a single request from the web page as it is being rendered.

The present invention aims to overcome, or at least alleviate, some or all of the afore-mentioned problems, or to at least provide the public with a useful choice.

SUMMARY OF THE INVENTION

In one aspect, the present invention provides a method of post processing a rendered HTML web page including the steps of: receiving a rendered web page, parsing the web page to identify resources that the web page includes links to, grouping the identified resources according to a type of resource, creating a resource reference that refers to each group of resources, and inserting the resource reference into the web page to enable the identified resources in the web page to be retrieved.

In a further aspect, the present invention provides a method of handling a resource request from a web browser, wherein the request includes a resource reference that refers to a group of resources of one type, the method including the steps of receiving the resource request, requesting at least two of the resources in the group, combining the at least two resources, and sending the combined resources to the web browser.

In yet a further aspect, the present invention provides a module arranged to post process a rendered HTML web page, wherein the module is arranged to receive a rendered web page, parse the web page to identify resources that the web page includes links to, group the identified resources according to a type of resource, create a resource reference that refers to each group of resources, and insert the resource reference into the web page to enable the identified resources in the web page to be retrieved.

In yet a further aspect, the present invention provides a module arranged to handle a resource request from a web browser, wherein the request includes a resource reference that refers to a group of resources of one type, the module arranged to receive the resource request, request at least two of the resources in the group, combine the at least two resources, and send the combined resources to the web browser.

In yet a further aspect, the present invention provides a data structure forming part of a HTML web page data structure for transmission between a web server and a web browser, the data structure including a single resource reference that refers to a group of resources of one type.

BRIEF DESCRIPTION OF THE DRAWINGS

Embodiments of the present invention will now be described, by way of example only, with reference to the accompanying drawings, in which:

FIG. 1 shows a flow diagram of the known processing steps of rendering a HTML web page after it is requested by a web browser;

FIG. 2 shows a further flow diagram of the known processing steps of a web browser requesting various resources within a HTML web page;

FIG. 3 shows a system block diagram indicating various configurations of a system that may utilise various embodiments of the present invention;

FIG. 4 shows a flow diagram of processing steps according to an embodiment of the present invention;

FIG. 5 shows a further flow diagram of processing steps according to an embodiment of the present invention;

FIG. 6 shows a pictorial representation of a mosaic image and a web page being rendered according to an embodiment of the present invention;

DETAILED DESCRIPTION OF THE INVENTION First Embodiment

FIG. 3 shows a system block diagram indicating various components that may be used in this embodiment.

A web browser 301 is connected to the Internet 303 via any suitable interface 305. The interface may be a wireless or wired modem, and the connection may be any suitable connection such as a dial up connection or broadband connection. Further, the connection may be via any suitable telecommunications network, for example a 3G network, using a handheld portable device such as a mobile telephone or PDA. The browser may be running on any type of computing device, such as a personal computer, mobile telephone, personal organiser, laptop etc.

The Internet 303 is also connected to a web server 307 via a webs server/Internet interface 309. The web server may be any suitable server that can serve HTML web pages, such as an Apache server, for example. A web application 311 forms part of, or is connected to, the web server via a web application/web server interface 313. The web application may be any suitable type of web application, such as, for example, PHP or ASP.NET web applications.

On the interface between the web application and web server there may be other required modules, such as a filter module 315, or interface modules 317 for interfacing between the web server, filter and application.

Forming part of the web server, or as a stand alone system, there is a file system 319 that contains the static content of the web pages the server is in control of. The file system 319 is interfaced to the web server via the file system web server interface 321.

Also shown in FIG. 3 are module 323 forming part of the web server and module 325 forming part of the web application. These modules may be internal hardware modules, software modules or a combination thereof. The modules are arranged to carry out the methods as described below. It will be understood that only one module (323, 325) is required but that more than one module may be utilised to execute different elements of the disclosed method.

In addition, a proxy server 327 may be used that can receive requests from the browser 301 via the internet 303, and optionally modify the requests before passing on to the web server 303 for handling. The proxy server 327 may also return data direct from a cache rather than passing on the request to the web server 303. It will be understood that the proxy server may be used to implement the methods of the various embodiments of the invention described.

Further, it will be understood that the module arranged to carry out the methods described below may also form part of the interface between the web server and web application, the interface modules 317 or the filter module 315. The module may be registered with either the web server or the web application.

Further, it will be understood that if the web pages that the server is arranged to serve only contain static resources, then there is no requirement to include the web application, or the interface and components between the web application and the web server.

In addition, it will be understood that additional components may be used such as an external database for retrieving additional information.

In the specific embodiment describe below, a device in the form of a software module 323 is located within the web server 307 in order to implement this embodiment of the invention.

Once a web application (e.g. asp.net) has compiled the requested web page and the web application is about to stream page content to the web server, the assembled web page is parsed by a resource combiner developed to optimise the references to other resources.

The parsing stage begins by locating the HEAD and BODY sections of the web page. For each section identified, the resources within that section and their type are identified. The different resource types (e.g. CSS and JavaScript) are processed separately, but follow the same process.

As the parser finds each candidate resource for combining, it checks a table of explicitly excluded resources and if the resource found in the page matches an entry in this table (by a fuzzy match) then that resource is excluded. For example, specific resources may be excluded because it is known that that resource will constantly be changing and so will need to be requested separately each time the web page requests that resource. For example, the parser may check for specific words that indicate the resource is constantly changing. Alternatively, specific URLs or parts thereof may be excluded, such as URLs to search engines or online encyclopaedias.

For those resources that are not excluded, the HTML content fragment within the page that represents the link is removed, and the link is kept for reference in the next step of the process.

When the full page has been parsed, all resource references that were found and selected to be combined are stored persistently (as a file on disk or in a database) along with a numeric token as a unique resource identification that acts as a unique identifier for the URL of that resource.

A surrogate URL (uniform resource locator) is then created that identifies all resources of a particular type that are to be combined by their numeric tokens. The order in which the resources appeared in the page is also retained in the order that the numeric tokens appear in this surrogate URL which ensures the order dependant script functions still function.

Example of what the resource combiner stores as resources to be combined after parsing a page:

CSS 1 http://nameofsite/layout/master.css 2 http://nameofsite/layout/common.css 3 http://nameofsite/layout/homestyles.css 4 http://nameofsite/layout/iefixes.css Script 5 http://nameofsite/scripts/common.js 6 http://nameofsite/scripts/prototype.js 7 http://nameofsite/ScriptResource.axd?d=XyayXYyefyuewoijeVJYU 8 http://nameofsiteScriptResource.axd?d=wuiwhecuihCEWYGWuytg 9 http://nameofsite/ScriptResource.axd?d=iojoirebpzouHW 10 http://www.google-analytics.com/urchin.js

This surrogate URL includes the numeric tokens for each of the 10 resources found in the parsed html page in a single URL.

For example, if 10 style sheets were found, the surrogate URL would be: http://nameofsite/combiner.axd?m=text.css|1.4.10389|1,2,3,4,5,6,7,8,9,10

The parser then determines an appropriate injection point in the modified page content (that now has the individual resource references removed) to insert the surrogate URL. For style sheets, this is the location of the first style sheet that was selected in the page for combining. For scripts, this is either the location of the first script that appears in the body tag, or where there are no scripts that exist within the body tag, the first occurrence of a script tag in the head tag. The surrogate URL is then inserted into the page at this point.

Therefore, once the whole web page has been parsed, a list of surrogate URLs will exist within it, one surrogate URL for each of the types of resource. That is, a single surrogate URL is provided for style sheets, and another one for script references. All excluded resources still remain unmodified within the page.

When the web browser reads the re-written page, at the point when it comes across the surrogate URL that has been inserted into the page, it requests the surrogate URL from the web server which in turn passes the request to the resource combiner component.

If the content that the surrogate URL represents has not been cached, i.e. if a combined version of the content associated with that surrogate URL is not stored in temporary memory, the following process is carried out to retrieve the identified resources.

The resource combiner handler receives the request for the surrogate URL from the web browser. The handler expands the surrogate URL into a list of real URLs that point to the individual resources. That is, if the surrogate URL included the numeric tokens of 5 different style sheets and 5 different script files, then the surrogate URL will be expanded to ten separate URLs, and each of these URLs will be used to retrieve the relevant style sheet or script resource.

The handler will do this for each surrogate URL it receives at the time it receives it. Once the handler has requested all the individual resource content identified by the numeric tokens in the surrogate URL, the individual content fragments are combined and compressed.

The content is then cached so that when the same surrogate URL request is made later, it is not necessary to go through the stages of expanding the surrogate URL and requesting full content of the resources.

The combined and compressed content is then streamed back to the browser via the web server.

The above described method and system avoids the need for the browser to send individual requests to the web server every time it comes across a resource in the HTML of the web page as it is being rendered. This is important as each request by the browser results in the web server requesting the resource, receiving the resource, and then forwarding the resource to the web browser. This reduces total latency and therefore the time taken to render a page.

FIG. 4 shows a flow diagram of the post processing steps carried out by a resource combiner after a web application has rendered a web page according to this embodiment of the present invention.

The resource combiner in this embodiment of the invention is attached to the web application. When a web browser requests a web page from a web server, the web server request the page from the web application. The web application renders the web page by requesting the web page data from its source and includes links to any resources within the web page. The web application then renders the content of the web page and streams the content.

The resource combiner intercepts the streamed content from the web application, parses the content for any resources that are referenced within the web page and combines the resources into a surrogate URL. Further the resource combiner provides a unique identification for any style sheet and script references, and stores those references along with the surrogate URL. Any images found are analysed and their details added to a mosaic table as well as creating a mosaic image, as described in more detail below. The web page is then rewritten by the resource combiner to replace the original resource references with a single reference for each type of resource by inserting surrogate URLs and adding style sheet (CSS) styles to image tags.

The resource combiner then streams the content of the web page back to the web server, which in turn streams the content back to the web browser.

FIG. 5 shows a flow diagram of the steps carried out by the resource combiner when it receives a request for a web page according to an embodiment of the present invention.

The web browser parses the page content and when it parses the surrogate URL for style sheets inserted into the content, a request is made to the web server. The web server receives the surrogate URL request and requests the resource from the resource combiner. The resource combiner checks to see if the resource is stored in cache memory, and if so, returns the resource. If the resource is not stored in cache, the tokens within the surrogate URL are resolved into actual URLs that identify the source of each of the resources. Each of the style sheets identified is then requested by the resource combiner from the style sheet source, and the combined resources are streamed back to the web server, and onto the web browser.

If the web browser parses a surrogate URL for scripts, similar steps to those described above for style sheets are carried out and the combined script resources are streamed to the web server from the resource combiner, and then onto the web browser.

If the web browser parses a surrogate URL for images, a request is made by the web browser. Upon receipt of the request, the web browser requests the resource from the resource combiner, which finds the images in its cache and streams back the mosaic image to the web server, which in turn streams the image back to the web browser.

The web browser then displays the full web page with all resources.

The above described embodiment specifically describes how script references and style sheet references may be combined. The following description explains how image references in the web page may also be combined so that the web browser is only required to make a single request in order to display multiple images.

The following shows a standard web page HTML without any changes made using the resource combiner, i.e. this is the page as passed to the combiner by a web application before optimisation.

<html>   <head>   </head>   <body>     <div>       <p>Some content...</p>       <img src=”images/one.jpg”/>       <p>Some more content...</p>       <img src=”images/two.jpg”/>     </div>   <body> </html>

As the web browser parses the web page it is required to make two separate requests for each of the images, one.jpg and two.jpg, from the web server.

The following HTML shows the modified web page after it has been optimized by the resource combiner.

<html>   <head>     <style>       img.arpo-jpgs { background-image:       url(combinedresource.axd?id=image/jpg|1.4.29283|4); }       img.arpo-img1 { background-position: 0 0; width: 80px;       height: 40px; }       img.arpo-img2 { background-position: 0 -40; width: 115px;       height: 12px; }     </style>   </head>   <body>     <div>       <p>Some content...</p>       <img src=”blank.gif” class=”arpo-jpgs arpo-img1”/>       <p>Some more content...</p>       <img src=”blank.gif” class=”arpo-jpgs arpo-img2”/>     </div>   <body> </html>

This format results in a request for a single mosaic image to be made by the browser from the web server.

The HTML consists of the following components:

a) a style tag which references a mosaic of all the non excluded images within the web page:

img.arpo-jpgs {background-image: url(combinedresource.axd?id=image/jpg|1.4.29283|4);}

b) CSS attributes that include co-ordinate values for an image in order to define the position of the image within the mosaic image:

img.arpo-img1 {background-position: 0 0; width: 80 px; height: 40 px;}

img.arpo-img2 {background-position: 0 −40; width: 115 px; height: 12 px;} and

c) style attributes that reference the CSS attributes, and an identification of a blank (or transparent) image source, which overlays the projected image from the mosaic image.

<img src=”blank.gif” class=”arpo-jpgs arpo-img1”/> <img src=”blank.gif” class=”arpo-jpgs arpo-img2”/>

The img src=“blank.gif” portion of the HTML creates a blank image, or foreground image, that lies over the top of the image identified within the mosaic image.

It is also possible in some browsers to use an inline data expression instead of an image reference to provide this 1×1 pixel blank image to further reduce the number of images requested by 1. This expression is in the form src=“data:image/gif;base64,XXX” where XXX is base64 encoded binary image data.

In this embodiment, the resource combiner adds the styles to the web page in the head section of the page. However, it will be understood that the styles may also be appended or concatenated to other combined style sheet content so that only one request is made for the style sheet.

FIG. 6 shows a pictorial representation of a mosaic image and a web page being rendered using the HTML described above.

A web page 601, includes a position 603 in the web page where an image is to be displayed. The image itself 605, a tree in this example, is stored within a mosaic image 607. The mosaic image contains all the non-excluded images referenced on the web page. The HTML provides a reference to the mosaic image and the location of the image within the mosaic image to enable a view window to be adapted that effectively positions itself over the required image. Therefore, as the view window is modified in its position and size, the other images in the mosaic image can be viewed.

An image may be excluded for any number of reasons. For example, any images that are displayed using the repeat function may be excluded.

Therefore, where the type of resource is an image, any identified images for each specific image format are grouped into a mosaic image. Therefore, for each of the image types JPEG, GIF etc, there will be one mosaic image. As an alternative, it is also possible to resample images of one type into another type such that only one type of image mosaic is required. For example, all GIF images may be converted into JPG images and included in a single JPG mosaic image.

A CSS style portion is created that provides a style reference for the identified image and references the mosaic image and defines the identified images. The identified image style reference includes a style tag that references the mosaic image and includes style sheet attributes for the identified image. The style sheet attributes include co-ordinate values for the identified image and the co-ordinate values defining the position of the image in the mosaic image as well as image size values for the identified image.

A table of non-excluded images is created, and any links to a non-excluded image resource are copied into the table.

A unique image reference including style attributes for each identified image are determined. Included within the unique image reference is a unique style sheet class that references style sheet attributes associated with the identified image. The unique image reference then replaces the link to the identified resource.

Specific embodiments of the present invention provide the ability to reduce the number of requests for resources identified in a web page. The number of requests has been reduced to a minimum of a single request for each type of resource identified. The ability to post process web pages prior to them being sent back to the browser enables existing web pages to be modified in order to provide the discussed advantages. There is no requirement for web developers to adapt their methods of developing web pages in order to gain access to the advantages of the present invention.

Further Embodiments

Further, it will be understood that in a system where there is no web application, the web server may carry out the post processing steps described above. In this embodiment, the web server would retrieve the static resources from the file system and those resources would be combined using any of the methods as described above. That is, the module described is part of, or in communication with, the web server and processes the page rendered by the web server.

It will be understood that the embodiments of the present invention described herein are by way of example only, and that various changes and modifications may be made without departing from the scope of invention.

It will be understood that the module or device used to implement various embodiments of the invention may take different forms to those specifically disclosed above. Embodiments of the invention may be realised using a module or device that can intercept the rendered web page at any point prior to it being rendered at the web browser.

It will further be understood that the unique resource identification could be one of a unique series of numbers, letters or global identifiers. 

1. A method of post processing a rendered HTML web page including the steps of: receiving a rendered web page, parsing the web page to identify resources that the web page includes links to, grouping the identified resources according to a type of resource, creating a resource reference that refers to each group of resources, and inserting the resource reference into the web page to enable the identified resources in the web page to be retrieved.
 2. The method of claim 1 further including the step of inserting a single resource reference for each group of resources in the web page.
 3. The method of claim 1, wherein the resource reference is a surrogate uniform resource locator.
 4. The method of claim 1, wherein the identified resources are style sheets and the resource reference is a style sheet reference that refers to a group of style sheet resources, the method further including the steps of identifying the location of a first style sheet link in the parsed web page, and inserting the style sheet reference at that location.
 5. The method of claim 1, wherein the identified resources are scripts and the resource reference is a script reference that refers to a group of script resources, the method further including the steps of determining if the location of a first script link is in a body section of the web page, and upon a positive determination, inserting the script reference at that location, and upon a negative determination, inserting the script reference at the location of a first occurrence of a script link in a head section of the web page.
 6. The method of claim 1, wherein the type of resource is a style sheet or script, the method further including the steps of providing a unique resource identification for each resource identified, and storing the unique resource identification with the link to the identified resource.
 7. The method of claim 6, wherein the identified resource is in the form of a uniform resource locator that links to the identified resource.
 8. The method of claim 6 further including the step of removing the link to the identified resource in the web page.
 9. The method of claim 6, wherein the unique resource identification is one of a unique series of numbers, letters or global identifiers.
 10. The method of claim 6 further including the step of including each unique resource identification within the resource reference.
 11. The method of claim 10, wherein a resource reference includes unique resource identifications of identified resources of only one type of resource.
 12. The method of claim 1, wherein the type of resource is an image, the method further including the steps of grouping the identified images for a specific image format into a mosaic image, creating an identified image style reference that references the mosaic image and defines the identified images.
 13. The method of claim 12 further including the step of creating a single mosaic image for each image format.
 14. The method of claim 12 further including the steps of creating a table of non-excluded images, and copying links to non-excluded image resources into the table.
 15. The method of claim 12 further including the step of defining a unique image reference for each identified image.
 16. The method of claim 15 further including the steps of including within the unique image reference a unique style sheet class that references style sheet attributes associated with the identified image.
 17. The method of claim 15, wherein the unique image reference replaces the link to the identified resource.
 18. The method of claim 17, wherein the unique image reference includes a reference to a blank image.
 19. The method of claim 12, wherein the identified image style reference includes a style tag that references the mosaic image.
 20. The method of claim 12, wherein the identified image style reference includes style sheet attributes for the identified image.
 21. The method of claim 20, wherein the style sheet attributes include co-ordinate values for the identified image, the co-ordinate values defining the position of the image in the mosaic image.
 22. The method of claim 20, wherein the style sheet attributes include image size values for the identified image.
 23. The method of claim 12 further including the step of inserting the identified image style reference into a head section of the web page.
 24. The method of claim 23 further including the step of concatenating any existing style sheet references with the identified image style reference.
 25. The method of claim 1 further including the step of receiving a web page rendered by a web server, wherein the web server intercepted the rendered web page prior to the web page being sent to a web browser.
 26. The method of claim 1 further including the step of receiving the web page rendered by a web application, wherein the web application intercepted the rendered web page prior to web page being sent to a web server.
 27. The method of claim 1 further including the step of receiving the web page from a web server via a proxy server, where the proxy server has intercepted the rendered web page after the web server has sent the web page to a web browser.
 28. The method of claim 1 further including the step of determining if the identified resource is an excluded resource.
 29. The method of claim 28 further including the step of comparing at least a portion of the link for an identified resource to a table of excluded resources to determine if the link is referring to an excluded resource.
 30. The method of claim 29, wherein the at least a part of the link is one of a keyword associated with the link, a uniform resource locator or part thereof associated with the link, and an identical or similar identifier associated with the link.
 31. The method of claim 29 further including the step of comparing at least a portion of the link with a list of excluded elements, and, upon determining that at least the portion of the link is associated with an excluded element, indicating that the identified resource is an excluded resource.
 32. The method of claim 28, whereupon determining that the identified resource is an excluded resource, further including the step of not grouping that identified resource.
 33. A method of handling a resource request from a web browser, wherein the request includes a resource reference that refers to a group of resources of one type, the method including the steps of receiving the resource request, requesting at least two of the resources in the group, combining the at least two resources, and sending the combined resources to the web browser.
 34. The method of claim 33 further including the steps of determining if the requested resources are stored locally, and, upon a negative determination, retrieving the requested resources and storing the requested resources locally.
 35. The method of claim 33 further including the steps of identifying the type of resource in the resource reference, and where the type of resource is identified as a style sheet or script, the method further including the steps of determining unique resource identifications from the resource reference, and retrieving each identified resource associated with each unique resource identification.
 36. The method of claim 35, wherein the unique resource identifications include a sequential series of numbers, letters or global identifiers.
 37. The method of claim 35 further including the steps of retrieving each identified resource by resolving the unique resource identification into an individual uniform resource locator associated with the identified resource, and retrieving the identified resource using the individual uniform resource locator.
 38. The method of claim 37 further including the steps of combining all retrieved resources for one type of identified resource.
 39. The method of claim 38 further including the step of compressing the combined retrieved resources, and storing the compressed resources locally.
 40. The method of claim 33 further including the steps of identifying the type of resource in the resource reference, and where the type of resource is identified as an image, the method further including the steps of determining a reference to a mosaic image from the resource reference, and retrieving the mosaic image.
 41. A module arranged to post process a rendered HTML web page, wherein the module is arranged to receive a rendered web page, parse the web page to identify resources that the web page includes links to, group the identified resources according to a type of resource, create a resource reference that refers to each group of resources, and insert the resource reference into the web page to enable the identified resources in the web page to be retrieved.
 42. The module of claim 41, wherein the module is arranged to insert a single resource reference for each group of resources in the web page.
 43. The module of claim 41, wherein the resource reference is a surrogate uniform resource locator.
 44. The module of claim 41, wherein the identified resources are style sheets and the resource reference is a style sheet reference that refers to a group of style sheet resources, the module being arranged to identify the location of a first style sheet link in the parsed web page, and insert the style sheet reference at that location.
 45. The module of claim 41, wherein the identified resources are scripts and the resource reference is a script reference that refers to a group of script resources, the module being arranged to determine if the location of a first script link is in a body section of the web page, and upon a positive determination, insert the script reference at that location, and upon a negative determination, insert the script reference at the location of a first occurrence of a script link in a head section of the web page.
 46. The module of claim 41, wherein the type of resource is a style sheet or script, the module being arranged to provide a unique resource identification for each resource identified, and store the unique resource identification with the link to the identified resource.
 47. The module of claim 46, wherein the identified resource is in the form of a uniform resource locator that links to the identified resource.
 48. The module of claim 46, wherein the module is arranged to remove the link to the identified resource in the web page.
 49. The module of claim 46, wherein the unique resource identification is one of a unique series of numbers, letters or global identifiers.
 50. The module of claim 46, wherein the module is arranged to include each unique resource identification within the resource reference.
 51. The module of claim 50, wherein a resource reference includes unique resource identifications of identified resources of only one type of resource.
 52. The module of claim 41, wherein the type of resource is an image, the module being arranged to group the identified images for a specific image format into a mosaic image, create an identified image style reference that references the mosaic image and defines the identified images.
 53. The module of claim 52, wherein the module is arranged to create a single mosaic image for each image format.
 54. The module of claim 52, wherein the module is arranged to create a table of non-excluded images, and copy links to non-excluded image resources into the table.
 55. The module of claim 52, wherein the module is arranged to define a unique image reference for each identified image.
 56. The module of claim 55, wherein the module is arranged to include within the unique image reference a unique style sheet class that references style sheet attributes associated with the identified image.
 57. The module of claim 55, wherein the unique image reference replaces the link to the identified resource.
 58. The module of claim 57, wherein the unique image reference includes a reference to a blank image.
 59. The module of claim 52, wherein the identified image style reference includes a style tag that references the mosaic image.
 60. The module of claim 52, wherein the identified image style reference includes style sheet attributes for the identified image.
 61. The module of claim 60, wherein the style sheet attributes include co-ordinate values for the identified image, the co-ordinate values defining the position of the image in the mosaic image.
 62. The module of claim 60, wherein the style sheet attributes include image size values for the identified image.
 63. The module of claim 52, wherein the module is arranged to insert the identified image style reference into a head section of the web page.
 64. The module of claim 63, wherein the module is arranged to concatenate any existing style sheet references with the identified image style reference.
 65. The module of claim 41, wherein the module is part of a web server that has intercepted the rendered web page prior to the web server sending the web page to a web browser.
 66. The module of claim 41, wherein the module is part of a web application that has intercepted the rendered web page prior to the web application sending the web page to a web server.
 67. The module of claim 41, wherein the module is part of a proxy server that has intercepted the rendered web page after the web server has sent the web page to a web browser.
 68. The module of claim 41, wherein the module is part of a filter module.
 69. The module of claim 41, wherein the module is part of an interface module.
 70. The module of claim 41, wherein the module is part of a software module.
 71. The module of claim 70, wherein the software module is located within a web server.
 72. The module of claim 70, wherein the software module forms part of a web application.
 73. The module of claim 70, wherein the software module forms part of a proxy server.
 74. The module of claim 41, wherein the module is arranged to determine if the identified resource is an excluded resource.
 75. The module of claim 74, wherein the module is arranged to compare at least a portion of the link for an identified resource to a table of excluded resources to determine if the link is referring to an excluded resource.
 76. The module of claim 75, wherein the at least a part of the link is one of a keyword associated with the link, a uniform resource locator or part thereof associated with the link, and an identical or similar identifier associated with the link.
 77. The module of claim 75, wherein the module is arranged to compare at least a portion of the link with a list of excluded elements, and, upon determining that at least the portion of the link is associated with an excluded element, indicate that the identified resource is an excluded resource.
 78. The module of claim 74, whereupon determining that the identified resource is an excluded resource, the module being arranged not to group that identified resource.
 79. A module arranged to handle a resource request from a web browser, wherein the request includes a resource reference that refers to a group of resources of one type, the module arranged to receive the resource request, request at least two of the resources in the group, combine the at least two resources, and send the combined resources to the web browser.
 80. The module of claim 79 arranged to determine if the requested resources are stored locally, and, upon a negative determination, retrieve the requested resources and store the requested resources locally.
 81. The module of claim 79 arranged to identify the type of resource in the resource reference, and where the type of resource is identified as a style sheet or script, the module is further arranged to determine unique resource identifications from the resource reference, and retrieve each identified resource associated with each unique resource identification.
 82. The module of claim 81, wherein the unique resource identifications include a sequential series of numbers.
 83. The module of claim 81 further arranged to retrieve each identified resource by resolving the unique resource identification into an individual uniform resource locator associated with the identified resource, and retrieve the identified resource using the individual uniform resource locator.
 84. The module of claim 83 further arranged to combine all retrieved resources for one type of identified resource.
 85. The module of claim 84 further arranged to pack and compress the combined retrieved resources, and store the compressed resources locally.
 86. The module of claim 79 arranged to identify the type of resource in the resource reference, and where the type of resource is identified as an image, the module further arranged to determine a reference to a mosaic image from the resource reference, and retrieve the mosaic image.
 87. The module of claim 79 forming part of a filter module.
 88. The module of claim 79 forming part of an interface module.
 89. The module of claim 79 forming part of a software module.
 90. The module of claim 89, wherein the software module is located within a web server.
 91. The module of claim 89, wherein the software module forms part of a web application.
 92. The module of claim 89, wherein the software module forms part of a proxy server.
 93. A data structure forming part of a HTML web page data structure for transmission between a web server and a web browser, the data structure including a single resource reference that refers to a group of resources of one type. 